package com.ponhu.ea2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.links.Link;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 货品中检结果表
 * </p>
 *
 * @author ${author}
 * @since 2021-10-19
 */
@Data
@Accessors(chain = true)
@TableName(value ="ph_inventory_appraisal")
public class PhInventoryAppraisal implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 主键
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 货品编码
     */
      private String inventoryCode;

      /**
     * 鉴定机构
     */
      private String appraisalOrg;

      /**
     * 鉴定时间
     */
      private LocalDateTime appraisalTime;

      /**
     * 中检状态：1无结果，2中检已通过，3中检未通过, 5不符合挂签标准
       * {@link com.ponhu.ea2.enums.InventoryAppraisalEnum}
     */
      private Integer isDoneCcic;

      /**
     * 中检溯源码
     */
      private String sourceCode;

      /**
     * 记录时间
     */
      private LocalDateTime createTime;

}
